<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>故障</title>
    <!--引用百度地图API-->
    <style type="text/css">
        html, body {
            margin: 0;
            padding: 0;
        }

        #setZ-index {
            z-index: 0;
        }

        .iw_poi_title {
            color: #CC5522;
            font-size: 14px;
            font-weight: bold;
            overflow: hidden;
            padding-right: 13px;
            white-space: nowrap
        }

        .iw_poi_content {
            font: 12px arial, sans-serif;
            overflow: visible;
            padding-top: 4px;
            white-space: -moz-pre-wrap;
            word-wrap: break-word
        }

        .searchbox-content {
            width: 368px;
            border-radius: 2px 0 0 2px;
            background: #fff;
        }

        #searchbox #searchbox-container {
            position: relative;
            z-index: 2;
            pointer-events: auto;
            width: 216px;
            float: left;
            box-sizing: border-box;
            box-shadow: 1px 2px 1px rgba(0, 0, 0, .15);
        }

        #sole-searchbox-content #suggestId {
            box-sizing: border-box;
            border: 0;
            padding: 9px 0;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            line-height: 20px;
            font-size: 16px;
            height: 38px;
            color: #333;
            position: relative;
            border-radius: 2px 0 0 2px;
        }

        .searchbox-content .searchbox-content-common {
            box-sizing: border-box;
            float: left;
            width: 217px;
            height: 38px;
        }

        #searchbox #search-button {
            pointer-events: auto;
            background: url(http://webmap0.map.bdstatic.com/wolfman/static/common/images/new/searchbox_f175577.png) no-repeat 0 -76px #3385ff;
            width: 57px;
            height: 38px;
            float: left;
            border: 0;
            padding: 0;
            cursor: pointer;
            border-radius: 0 2px 2px 0;
            box-shadow: 1px 2px 1px rgba(0, 0, 0, .15);
        }

        .clearfix {
            position: absolute;
            top: 16px;
            right: 14px;
        }
    </style>
</head>
<body>
<div class="box">
    <div class="box-body">
        <table id="mainDataTables" class="table table-bordered table-striped" cellspacing="0" width="100%">
            <thead>
            <tr>
                <th><input onchange="$.checkChange()" type="checkbox" id="batch_check"></th>
                <th>序号</th>
                <th>标牌图片</th>
                <th>报告人</th>
                <th>报告时间</th>
                <th>维护单位</th>
                <th>企业审核人</th>
                <th>标牌详情</th>
                <th>故障详情</th>
                <th>操作</th>
            </tr>
            </thead>
        </table>
    </div>
</div>

<!--datatable 图片放大modal框-->
<div id="showPicModal" class="modal fade" tabindex="-1" role="dialog"
     aria-labelledby="showPicLabel" aria-hidden="true" style="z-index: 1500">
    <div class="modal-dialog" style="width: 540px;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                        onclick="$('#showPicModal').modal('hide')">
                    <span aria-hidden="true">&times;</span></button>
                <b class="modal-title" id="showPicLabel"></b>
            </div>
            <div class="modal-body" style="text-align: center">
                <img id="showPicture" style="width: 100%;">
            </div>
        </div>
    </div>
</div>

<!--datatable 标牌详细 modal-->
<div id="roadSignInfoModal" class="modal fade" tabindex="-1" role="dialog"
     aria-labelledby="roadSignInfoModalLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 800px;">
        <div class="modal-content">
            <form id="roadSignInfoModalForm" name="roadSignInfoModalForm"
                  class="form-horizontal" role="form" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                            onclick="$('#roadSignInfoModal').modal('hide')">
                        <span aria-hidden="true">&times;</span></button>
                    <b class="modal-title" id="roadSignInfoModalLabel"></b>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="col-sm-6">
                            <div class="form-group">
                                <label for="signArea" class="col-sm-3 control-label">地址</label>
                                <div class="col-sm-3" style="padding-right: 0">
                                    <input type="text" class="form-control" id="signProvince" name="signProvince"
                                           placeholder="省" style="padding-right: 10px" readonly>
                                </div>
                                <div class="col-sm-3" style="padding-left: 7px; padding-right: 7px">
                                    <input type="text" class="form-control" id="signCity" name="signCity"
                                           placeholder="市" style="padding-right: 10px" readonly>
                                </div>
                                <div class="col-sm-3" style="padding-left: 0">
                                    <input type="text" class="form-control" id="signArea" name="signArea"
                                           placeholder="区/县" style="padding-right: 10px" readonly>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">坐标</label>
                                <div class="col-sm-8" style="padding-right: 0">
                                    <input type="text" class="form-control" id="coordinate"
                                           placeholder="坐标" style="padding-right: 10px" readonly>
                                </div>
                                <div class="col-sm-1">
                                    <button type="button" style="height: 34px;float: right;" id="myBtnUpdate"
                                            onclick="$.myBtnMap()"><i
                                            class="fa fa-map-marker"></i></button>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="signMainOrgName" class="col-sm-3 control-label">监管单位</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="signMainOrgName" name="signMainOrgName"
                                           placeholder="监管单位" readonly>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="signOrgName" class="col-sm-3 control-label">养护公司</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="signOrgName" name="signOrgName"
                                           placeholder="养护公司" readonly>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="signCreateUserName" class="col-sm-3 control-label">采集人</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="signCreateUserName"
                                           name="signCreateUserName"
                                           placeholder="采集人" readonly>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="signStartRoad" class="col-sm-3 control-label">起始路口</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="signStartRoad" name="signStartRoad"
                                           placeholder="起始路口" readonly>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="signEndRoad" class="col-sm-3 control-label">结束路口</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="signEndRoad" name="signEndRoad"
                                           placeholder="结束路口" readonly>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="signRoadName" class="col-sm-3 control-label">路名</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="signRoadName" name="signRoadName"
                                           placeholder="路名" readonly>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">标牌照片</label>
                                <div class="col-sm-9">
                                    <img id="signRoadSignPic" src="" onclick=""
                                         style="cursor: pointer;height: 185px; width: 260px">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="signRoadSignInstallType" class="col-sm-3 control-label">安装方式</label>
                                <div class="col-sm-9">
                                    <select class="form-control" id="signRoadSignInstallType"
                                            name="signRoadSignInstallType" disabled>
                                        <option value="0">单标志</option>
                                        <option value="1">合杆</option>
                                        <option value="2">借杆</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="signEnvironment" class="col-sm-3 control-label">使用场景</label>
                                <div class="col-sm-9">
                                    <select class="form-control" id="signEnvironment" name="signEnvironment" disabled>
                                        <option value="0">日常使用</option>
                                        <option value="1">施工配合</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="SignRoadSignType" class="col-sm-3 control-label">标志类型</label>
                                <div class="col-sm-9">
                                    <select class="form-control" id="SignRoadSignType" name="SignRoadSignType" disabled>
                                        <option value="0">警告</option>
                                        <option value="1">禁令</option>
                                        <option value="2">指示</option>
                                        <option value="3">指路</option>
                                        <option value="4">旅游</option>
                                        <option value="5">辅助</option>
                                        <option value="6">作业</option>
                                        <option value="7">告示</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="signRoadSignShape" class="col-sm-3 control-label">标牌形状</label>
                                <div class="col-sm-9">
                                    <select class="form-control" id="signRoadSignShape" name="signRoadSignShape"
                                            disabled>
                                        <option value="0">圆形</option>
                                        <option value="1">八角形</option>
                                        <option value="2">正三角</option>
                                        <option value="3">倒三角</option>
                                        <option value="4">矩形</option>
                                        <option value="5">方形</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary pull-right btn-flat" data-dismiss="modal"
                            onclick="$('#roadSignInfoModal').modal('hide')">
                        <i class="glyphicon glyphicon-ok"></i> 完成
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>

<!--datatable标牌详细上的地图 modal-->
<div id="modal-map" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="label-map"
     aria-hidden="true">
    <div class="modal-dialog" style="width: 800px;">
        <div class="modal-content">
            <form id="form-map" name="form-map" class="form-horizontal" role="form" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                            onclick="$.clearModal($('#form-map'), $('#modal-map'))">
                        <span aria-hidden="true">&times;</span></button>
                    <b class="modal-title" id="label-map">地图展示</b>
                </div>
                <div class="modal-body">
                    <iframe src="fault/roadPoleAuditMap.html" id="myMap"
                            style="width: 100%;height: 365px"
                            frameBorder=0
                            scrolling=no></iframe>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary btn-flat"
                            onclick="$.clearModal($('#form-map'), $('#modal-map'))">
                        <span class="glyphicon glyphicon-ok" aria-hidden="true"></span> 完成
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>

<!--审核页面modal-->
<div class="modal fade bs-example-modal-sm" id="auditModal" tabindex="-1" role="dialog"
     aria-labelledby="auditModalLabel"
     aria-hidden="true">
    <div class="modal-dialog" style="width: 700px;">
        <div class="modal-content">
            <div class="modal-header">
                <label class="modal-title" id="auditModalLabel"></label>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                        onclick="$.closeShowModal()">
                    <span aria-hidden="true">&times;</span></button>
                </button>
            </div>
            <div class="modal-body" id="md-body" style="overflow: auto">

                <table class="table table-bordered table-striped">
                    <tr>
                        <td class="col-sm-3">故障编号</td>
                        <td class="col-sm-3"><span id="signFaultId4Audit"></span></td>
                        <td class="col-sm-3">故障等级</td>
                        <td class="col-sm-3"><span id="signFaultLevel4Audit"></span></td>
                    </tr>
                    <tr>
                        <td class="col-sm-3">故障类型</td>
                        <td class="col-sm-3"><span id="signFaultType4Audit"></span></td>
                        <td class="col-sm-3">报告人</td>
                        <td class="col-sm-3"><span id="signFaultPeopleName4Audit"></span></td>
                    </tr>
                    <tr>
                        <td class="col-sm-3">报告时间</td>
                        <td><span id="signFaultTime4Audit"></span></td>
                        <td class="col-sm-3">预计维修金额(元)</td>
                        <td><span id="repairAmount4Audit"></span></td>
                    </tr>
                    <tr>
                        <td colspan="1">审核反馈</td>
                        <td colspan="3">
                            <input type="text" class="form-control" id="signFaultCheckBack4Audit">
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">故障原因</td>
                        <td colspan="2">故障图片</td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <div style="height:130px;" id="signFaultReason4Audit"></div>
                        </td>
                        <td colspan="2" rowspan="2">
                            <img id="signFaultPic4Audit" src="" style="width:83%;cursor: pointer"
                                 onclick="$.showMePhoto()">
                            <br/>
                            <span style="font-size: 5px;color: gray;">点击图片放大</span>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4">标牌位置</td>
                    </tr>
                    <tr>
                        <td colspan="4" rowspan="3">
                            <iframe src="fault/map.html" id="showEventContent4Audit"
                                    style="width: 100%;height: 279px;"
                                    frameBorder=0
                                    scrolling=no></iframe>
                        </td>
                    </tr>
                </table>

                <input type="hidden" id="roadSignId" name="roadSignId">

            </div>
            <input type="hidden" id="signFaultId" name="signFaultId">
            <div class="modal-footer">
                <button type="submit" id="straight-button" class="btn btn-warning">
                    <span class="glyphicon glyphicon-ok-circle" aria-hidden="true"></span> 内部通过
                </button>
                <button type="submit" id="ac-button" class="btn btn-success">
                    <span class="glyphicon glyphicon-ok" aria-hidden="true"></span> 通过
                </button>
                <button id="notac-button" class="btn btn-danger">
                    <span class="glyphicon glyphicon-remove" aria-hidden="true"></span> 不通过
                </button>
                <button type="button" class="btn btn-primary" data-dismiss="modal"
                        onclick="$.closeShowModal()"><i
                        class="fa fa-trash-o"></i> 取消
                </button>
            </div>
        </div>
    </div>
</div>

<!-- 审核框中————图片预览modal -->
<div class="modal fade bs-example-modal-sm" id="preModal" tabindex="-1" role="dialog" aria-labelledby="preModal"
     aria-hidden="true">
    <div class="modal-dialog" style="width: 700px;">
        <div class="modal-content">
            <div class="modal-header">
                <label class="modal-title" id="preModalLabel" style="font-size: 16px;">故障图片 </label>
                <button type="button" title='关闭' class="close" onclick="$.closePhoto()" id="adjustBu"
                        style="float: right; margin-top: -5px;">
                    <span aria-hidden="true">×</span>
                </button>
            </div>
            <div class="modal-body" align="center" id="selectModal_body">
                <img id="preViewImg" src="" style="width: 450px;">
            </div>
            <div class="modal-footer">
            </div>
        </div>
    </div>
</div>

<!--故障上报modal-->
<div class="modal fade bs-example-modal-sm" id="addfaultModal" tabindex="-1" role="dialog"
     aria-labelledby="addfaultModalLabel"
     aria-hidden="true">
    <div class="modal-dialog" style="width: 800px;">
        <div class="modal-content">
            <div class="modal-header">
                <label class="modal-title" id="addfaultModalLabel"></label>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                        onclick="$.closeAddfaultModal()">
                    <span aria-hidden="true">&times;</span></button>
                </button>
            </div>
            <div class="modal-body" id="add-body" style="overflow: auto">
                <table class="table table-bordered table-striped">
                    <tr>
                        <td class="col-sm-3">上报人员</td>
                        <td class="col-sm-3"><span id="addfault_signFaultPeopleName"></span></td>
                        <td class="col-sm-3">上报人员电话</td>
                        <td class="col-sm-3"><span id="addfault_signFaultPeopleMobile"></span></td>
                    </tr>
                    <tr>
                        <td class="col-sm-3">设施位置名称</td>
                        <td class="col-sm-3"><span id="addfault_roadName"></span>
                            <button style="float: right;" id="addfault_signBtn" onclick="$.roadPoleDTModal()"><i
                                    class="fa fa-align-justify">
                            </i></button>
                            <button style="float: right;" id="addfault_signMapBtn" onclick="$.selectSignMap()"><i
                                    class="fa fa-map-marker">
                            </i></button>
                        </td>
                        <td class="col-sm-3">预计维修金额(元)</td>
                        <td class="col-sm-3"><input type="text" id="addfault_repairAmount"
                                                    onkeyup="onlyNumber(this)" placeholder="0.00"/></td>
                    </tr>
                    <tr>
                        <td class="col-sm-3">所属路口路段</td>
                        <td colspan="3"><span id="addfault_address"></span></td>
                    </tr>
                    <tr>
                        <td class="col-sm-3">故障类型</td>
                        <td class="col-sm-3"><select class="form-control" id="addfault_signFaultType"
                                                     name="addfault_signFaultType"></select></td>
                        <td class="col-sm-3">故障等级</td>
                        <td class="col-sm-3">
                            <select class="form-control" id="addfault_signFaultLevel" name="addfault_signFaultLevel">
                                <option value="1">一级</option>
                                <option value="2">二级</option>
                                <option value="3">三级</option>
                                <option value="4">四级</option>
                                <option value="5">五级</option>
                            </select></td>
                    </tr>
                    <tr>
                        <td>故障原因</td>
                        <td colspan="3">
                            <textarea class="form-control" id="addfault_signFaultReason"
                                      style="height: 80px"></textarea>
                        </td>
                    </tr>
                    <tr>
                        <td>故障图片</td>
                        <td colspan="3" rowspan="2">
                            <img id="addfault_signFaultPic" src="../images/default_photo.png"
                                 onclick="$.openUpPic()"
                                 style="width:83%;height: 300px;cursor: pointer"/>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-warning" data-dismiss="modal"
                        onclick="$.closeAddfaultModal()"><i class="fa fa-trash-o"></i> 取消
                </button>
                <button type="button" id="reportBtn" onclick="$.reportFault()" class="btn btn-primary"><i
                        class="glyphicon glyphicon-upload"></i> 上报
                </button>
                <button type="button" style="display: none" id="updateBtn" onclick="$.updateFault()"
                        class="btn btn-primary"><i class="glyphicon glyphicon-upload"></i> 保存
                </button>
            </div>
            <input type="hidden" id="addfault_signFaultId" name="addfault_signFaultId">
            <input type="hidden" id="addfault_roadSignId" name="addfault_roadSignId">
            <input type="hidden" id="addfault_orgId" name="addfault_orgId">
            <input type="hidden" id="addfault_mainOrgId" name="addfault_mainOrgId">
        </div>
    </div>
</div>

<!--标杆datatable——>modal-->
<div id="roadPoleDTModal" class="modal fade" tabindex="-1" role="dialog"
     aria-labelledby="roadPoleDTModalLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 1100px;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                        onclick="$.closeRoadPoleDTModal()">
                    <span aria-hidden="true">&times;</span></button>
                <b class="modal-title" id="roadPoleDTModalLabel"></b>
            </div>
            <div class="modal-body">
                <table id="roadPoleDTDataTables" class="table table-bordered table-striped"
                       cellspacing="0" width="100%">
                    <thead>
                    <tr>
                        <th>序号</th>
                        <th>全景图片</th>
                        <th>地址</th>
                        <th>道路</th>
                        <th>是否桥</th>
                        <th>安全状况</th>
                        <th>养护公司</th>
                        <th>采集人</th>
                        <th>创建时间</th>
                        <th>标杆详情</th>
                        <th>标牌</th>
                    </tr>
                    </thead>
                </table>
            </div>
        </div>
    </div>
</div>
<!--地图选择标牌-->
<div id="signSelectMap" style="z-index: 0;margin-top: 22px" class="modal fade" tabindex="-1" role="dialog"
     aria-labelledby="label-map"
     aria-hidden="true">
    <div class="modal-dialog" style="width: 1200px;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                        onclick="$.closeSignSelectMap()">
                    <span aria-hidden="true">&times;</span></button>
                <b class="modal-title" id="label-signSelectMap">选择标牌</b>
            </div>
            <div class="modal-body" style="max-height:550px">
                <!--百度地图容器-->
                <div style="width:100%;height:500px;border:#ccc solid 1px;" id="dituContent"></div>
                <div id="searchbox" class="clearfix">
                    <div id="searchbox-container">
                        <div id="sole-searchbox-content" class="searchbox-content">
                            <div id="searchResultPanel"
                                 style="border:1px solid #C0C0C0;width:215px;height:auto; display:none;"></div>
                            <input id="suggestId" class="searchbox-content-common" type="text" name="word"
                                   autocomplete="off"
                                   maxlength="256" placeholder="搜地点" value="">
                        </div>
                    </div>
                    <button id="search-button" data-title="搜索" data-tooltip="1"></button>
                </div>
            </div>
        </div>
    </div>
</div>
<!--标杆详情modal-->
<div id="updateRoadPoleCollectModal" class="modal fade" tabindex="-1" role="dialog"
     aria-labelledby="updateRoadPoleCollectLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 800px;">
        <div class="modal-content">
            <form id="updateRoadPoleCollectForm" name="updateRoadPoleCollectForm"
                  class="form-horizontal" role="form" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                            onclick='$.clearModal($("#updateRoadPoleCollectForm"), $("#updateRoadPoleCollectModal"))'>
                        <span aria-hidden="true">&times;</span></button>
                    <b class="modal-title" id="updateRoadPoleCollectLabel"></b>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="col-sm-6">
                            <div class="form-group">
                                <label for="areaUpdate" class="col-sm-3 control-label">地址</label>
                                <div class="col-sm-3" style="padding-right: 0">
                                    <input type="text" class="form-control" id="provinceUpdate" name="provinceUpdate"
                                           placeholder="省" style="padding-right: 10px" readonly>
                                </div>
                                <div class="col-sm-3" style="padding-left: 7px; padding-right: 7px">
                                    <input type="text" class="form-control" id="cityUpdate" name="cityUpdate"
                                           placeholder="市" style="padding-right: 10px" readonly>
                                </div>
                                <div class="col-sm-3" style="padding-left: 0">
                                    <!--<select class="form-control" id="areaUpdate" name="areaUpdate"
                                            style="padding-right: 10px"readonly></select>-->
                                    <input type="text" class="form-control" id="areaUpdate" name="areaUpdate"
                                           placeholder="区" style="padding-right: 10px" readonly>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">坐标</label>
                                <div class="col-sm-8" style="padding-right: 0">
                                    <input type="text" class="form-control" id="reCoordinate"
                                           style="padding-right: 0" placeholder="坐标" readonly>
                                </div>
                                <div class="col-sm-1">
                                    <button type="button" style="height: 34px;float: right;" id="reMyBtnUpdate"><i
                                            class="fa fa-map-marker"></i></button>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="mainOrgIdUpdate" class="col-sm-3 control-label">监管单位</label>
                                <div class="col-sm-9">
                                    <select class="form-control" id="mainOrgIdUpdate" name="mainOrgIdUpdate" disabled>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadPoleShapeUpdate" class="col-sm-3 control-label">标杆形状</label>
                                <div class="col-sm-9">
                                    <select class="form-control" id="roadPoleShapeUpdate" name="roadPoleShapeUpdate"
                                            disabled>
                                        <option value="0">单直杆</option>
                                        <option value="1">双直杆</option>
                                        <option value="2">单挑杆</option>
                                        <option value="3">双挑杆</option>
                                        <option value="4">二F杆</option>
                                        <option value="5">三F杆</option>
                                        <option value="6">门架</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadPoleSizeUpdate" class="col-sm-3 control-label">标杆尺寸</label>
                                <div class="col-sm-9">
                                    <input class="form-control" id="roadPoleSizeUpdate" name="roadPoleSizeUpdate"
                                           readonly/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadNameUpdate" class="col-sm-3 control-label">路名</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="roadNameUpdate" name="roadNameUpdate"
                                           placeholder="路名" readonly>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="startRoadUpdate" class="col-sm-3 control-label">起始路口</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="startRoadUpdate" name="startRoadUpdate"
                                           placeholder="起始路口" readonly>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="endRoadUpdate" class="col-sm-3 control-label">结束路口</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="endRoadUpdate" name="endRoadUpdate"
                                           placeholder="结束路口" readonly>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">全景照片</label>
                                <div class="col-sm-9">
                                    <img id="roadPolePicUpdate" src=""
                                         style="height: 185px; width: 260px;cursor: pointer">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadPoleSecurityUpdate" class="col-sm-3 control-label">安全状况</label>
                                <div class="col-sm-9">
                                    <select class="form-control" id="roadPoleSecurityUpdate"
                                            name="roadPoleSecurityUpdate" disabled>
                                        <option value="0">安全</option>
                                        <option value="1">不安全</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadPoleBridgeUpdate" class="col-sm-3 control-label">是否桥上</label>
                                <div class="col-sm-9">
                                    <select class="form-control" id="roadPoleBridgeUpdate" name="roadPoleBridgeUpdate"
                                            disabled>
                                        <option value="0">否</option>
                                        <option value="1">是</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="orgIdUpdate" class="col-sm-3 control-label">养护公司</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="orgIdUpdate" name="orgIdUpdate"
                                           placeholder="养护公司" readonly>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="createUserNameUpdate" class="col-sm-3 control-label">采集人</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="createUserNameUpdate"
                                           name="createUserNameUpdate"
                                           placeholder="采集人" readonly>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <input type="hidden" id="roadPoleIdUpdate" name="roadPoleIdUpdate"/>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary pull-right btn-flat" data-dismiss="modal"
                            onclick='$.clearModal($("#updateRoadPoleCollectForm"), $("#updateRoadPoleCollectModal"))'>
                        <i class="glyphicon glyphicon-ok"></i> 完成
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>

<!--标杆datatableMap-->
<div id="modal-report-map" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="label-map"
     aria-hidden="true">
    <div class="modal-dialog" style="width: 800px;">
        <div class="modal-content">
            <form id="form-report-map" name="form-report-map" class="form-horizontal" role="form" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                            onclick="$.clearModal($('#form-report-map'), $('#modal-report-map'))">
                        <span aria-hidden="true">&times;</span></button>
                    <b class="modal-title" id="label-report-map">地图展示</b>
                </div>
                <div class="modal-body">
                    <iframe src="management/roadPoleMap.html" id="reportMyMap"
                            style="width: 100%;height: 500px"
                            frameBorder=0
                            scrolling=no></iframe>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary btn-flat" id="subBtn">
                        <span class="glyphicon glyphicon-ok" aria-hidden="true"></span> 完成
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>

<!--标牌选择table--modal-->
<div id="modal-AllInformation" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="label-map"
     aria-hidden="true">
    <div class="modal-dialog" style="width: 800px;">
        <div class="modal-content">
            <form id="form-AllInformation" name="form-map" class="form-horizontal" role="form" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                            onclick="$.clearModal($('#form-AllInformation'), $('#modal-AllInformation'))">
                        <span aria-hidden="true">&times;</span></button>
                    <b class="modal-title">信息展示</b>
                </div>
                <div class="modal-body">
                    <table id="myTable" class="table table-bordered table-striped">
                        <tr>
                            <td><b>标杆</b></td>
                        </tr>
                        <tr>
                            <td rowspan="6" colspan="3"><img id="img" style="width: 230px;height:270px; cursor: pointer"
                                                             src=""></td>
                            <td><b>地址：</b></td>
                            <td colspan="3" id="address"></td>
                        </tr>
                        <tr>
                            <td><b>形状：</b></td>
                            <td id="shape"></td>
                            <td><b>安全状况：</b></td>
                            <td id="security"></td>
                        </tr>
                        <tr>
                            <td><b>是否过桥：</b></td>
                            <td id="bridge"></td>
                            <td><b>采集员：</b></td>
                            <td id="create"></td>
                        </tr>
                        <tr>
                            <td><b>尺寸：</b></td>
                            <td colspan="3" id="size"></td>
                        </tr>
                        <tr>
                            <td><b>养护单位：</b></td>
                            <td colspan="3" id="company"></td>
                        </tr>
                        <tr>
                            <td><b>监管单位：</b></td>
                            <td colspan="3" id="mainOrg"></td>
                        </tr>
                        <tr id="t">
                        </tr>

                    </table>
                    <div id="myDiv">
                        <p id="mp">这是一句换</p>
                    </div>
                </div>

                <div class="modal-footer">
                    <button type="button" class="btn btn-primary btn-flat"
                            onclick="$.clearModal($('#form-AllInformation'), $('#modal-AllInformation'))">
                        <span class="glyphicon glyphicon-ok" aria-hidden="true"></span> 完成
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>

<!--显示故障不通过原因modal-->
<div class="modal fade" id="showReasonModal" tabindex="-1" role="dialog"
     aria-labelledby="showReasonModalLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 400px;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                        onclick="$.clearModal($('#showReasonForm'), $('#showReasonModal'))">
                    <span aria-hidden="true">&times;</span>
                </button>
                <b class="modal-title" id="showReasonModalLabel">反馈内容</b>
            </div>
            <form id="showReasonForm">
                <div class="modal-body row">
                    <textarea type="text" class="form-control" id="reason" name="reason"
                              placeholder="反馈内容" style="height: 210px;resize: none;" readonly></textarea>

                    <input type="hidden" id="showReason_roadSignId">
                </div>
            </form>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary"
                        onclick="$.clearModal($('#showReasonForm'), $('#showReasonModal'))">
                    <span class="glyphicon glyphicon-remove" aria-hidden="true"></span> 取消
                </button>
                <button type="button" class="btn btn-success" id="stateBtn"
                        onclick="$.sureRoadSign(document.getElementById('showReason_roadSignId').value)">
                    <span class="glyphicon glyphicon-ok" aria-hidden="true"></span> 重新上报
                </button>
            </div>
        </div>
    </div>
</div>

<!--图片上传-->
<div class="modal fade" id="upPictureModal" tabindex="-1" role="dialog"
     aria-labelledby="upPictureModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-sm">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                        onclick="$.closeUpPhModal()">
                    <span aria-hidden="true">&times;</span>
                </button>
                <b class="modal-title" id="upPictureModalLabel"></b>
            </div>
            <div class="modal-body row">
                <div id="container" class="col-sm-12">
                    <a id="selectfiles" href="javascript:void(0);" class='btn btn-primary'>
                        <span class='glyphicon glyphicon-picture'></span> 选择图片</a>
                    <a id="postfiles" href="javascript:void(0);" class='btn btn-success'>
                        <span class='glyphicon glyphicon-send'></span> 开始上传</a>
                </div>
                <div id="ossfile" class="col-sm-12" style="margin-top: 20px;"></div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" onclick="$.closeUpPhModal()">
                    <span class="glyphicon glyphicon-remove" aria-hidden="true"></span> 取消
                </button>
                <button type="button" class="btn btn-success" onclick="$.doneUpPhoto()">
                    <span class="glyphicon glyphicon-ok" aria-hidden="true"></span> 完成
                </button>
            </div>
        </div>
    </div>
</div>

<!--故障状态-->
<div class="modal fade" tabindex="-1" role="dialog" id="modal-signFaultStatus">
    <div class="modal-dialog" role="document">
        <div class="modal-content" style="width: 610px;overflow-y:hidden;overflow-x: hidden">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title">故障进度</h4>
            </div>
            <div class="modal-body" style="overflow-y:hidden;overflow-x: hidden">
                <div class="ystep2" style="width: auto"></div>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->


</body>
<script src="../plugins/oss-h5-upload-js-direct/lib/plupload-2.1.2/js/plupload.full.min.js"></script>
<script src="../plugins/oss-h5-upload-js-direct/lib/crypto1/crypto/crypto.js"></script>
<script src="../plugins/oss-h5-upload-js-direct/lib/crypto1/hmac/hmac.js"></script>
<script src="../plugins/oss-h5-upload-js-direct/lib/crypto1/sha1/sha1.js"></script>
<script src="../plugins/oss-h5-upload-js-direct/lib/base64.js"></script>
<script src="../plugins/oss-h5-upload-js-direct/upload.js"></script>
<!----------------->

<script src="fault/faultreport.js"></script>
</html>